<footer class="aui-bar aui-bar-tab gu-footer" ng-controller="car-controller" id="footer">
    <div class="aui-bar-tab-item <?=$index==1 ? 'aui-active' : ''?>">
        <a class="gu-bar-btn" href="/index">
            <i class="aui-iconfont aui-icon-home"></i>
            <div class="aui-bar-tab-label">首页</div>
        </a>
    </div>
    <div class="aui-bar-tab-item  <?=$index==3 ? 'aui-active' : ''?>">
        <a class="gu-bar-btn" href="/car">
            <div class="aui-badge" ng-bind="carCounter" ng-show="carCounter > 0"></div>
            <i class="aui-iconfont aui-icon-cart"></i>
            <div class="aui-bar-tab-label">购物车</div>
        </a>
    </div>
    <div class="aui-bar-tab-item  <?=$index==2 ? 'aui-active' : ''?>">
        <a class="gu-bar-btn" href="/order">
            <i class="aui-iconfont aui-icon-calendar"></i>
            <div class="aui-bar-tab-label">订单</div>
        </a>
    </div>
    <div class="aui-bar-tab-item  <?=$index==4 ? 'aui-active' : ''?>">
        <a class="gu-bar-btn" href="/center">
            <div class="aui-dot"></div>
            <i class="aui-iconfont aui-icon-my"></i>
            <div class="aui-bar-tab-label">我的</div>
        </a>
    </div>
</footer>